home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
e
/
ddmoduls.lha
/
dd_Modules
/
dd_debug
/
dd_debug.doc
next >
Wrap
Text File
|
1995-12-01
|
1KB
|
47 lines
dd_blackboxes/dd_debugon
NAME
dd_debugon.m -- module for serial debugging
dd_debugoff.m -- module for serial debugging
AUTHOR
Leon Woestenberg of Digital Disturbance (Email: leon@stack.urc.tue.nl)
REQUIREMENTS
Requires that the PREPROCESS option is enabled. Needs the tools/debug.m
module by Lionel Vintenat for the serial debugging functions.
DESCRIPTION
The dd_debug modules implement serial debugging by using macros. The
macros serve as a kind of conditional compilation guards. By using
the dd_debugon module, all debug macros are compiled along in the
program executable. By using dd_debugoff, they are simply ignored,
as if they were never there.
FEATURES
Simple way of enabling or disabling serial debugging. Debugging can be
controlled for each module each in a large project.
MACROS
KPUTSTR(string)
KPUTFMT(string,datastream)
KPUTCHAR(character)
KGETCHAR
KRESET
TODO
Implement the other debug functions as well. Use a new approach that
can not be implemented now because a macro cannot insert a comment.
SEE ALSO
dd_debugtest.e, tools/debug.m, src/tools/debug/debug.doc